package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research_step_data_template_another_indicators")
public class MbResearchStepDataTemplateAnotherIndicators extends Model<MbResearchStepDataTemplateAnotherIndicators> {

    private static final long serialVersionUID = 1L;

    /**
     * 其他指标ID
     */
	@TableId(value="ai_id", type= IdType.AUTO)
	private Long aiId;
    /**
     * 1:体重 2：握力 3：肱三头肌皮褶厚度 4：体脂率 5：改良SGA评分 6：DP-care风险评估
     */
	@TableField("ai_type")
	private Integer aiType;
    /**
     * 1:KG 2:cm 3:% 4:分 5：km
     */
	@TableField("ai_unit")
	private Integer aiUnit;
    /**
     * 0:非必填 1:必填
     */
	@TableField("ai_must")
	private Integer aiMust;
    /**
     * 0:不显示 1:显示
     */
	@TableField("ai_show")
	private Integer aiShow;
    /**
     * 关联数据模板ID
     */
	@TableField("temp_id")
	private Long tempId;


	public Long getAiId() {
		return aiId;
	}

	public void setAiId(Long aiId) {
		this.aiId = aiId;
	}

	public Integer getAiType() {
		return aiType;
	}

	public void setAiType(Integer aiType) {
		this.aiType = aiType;
	}

	public Integer getAiUnit() {
		return aiUnit;
	}

	public void setAiUnit(Integer aiUnit) {
		this.aiUnit = aiUnit;
	}

	public Integer getAiMust() {
		return aiMust;
	}

	public void setAiMust(Integer aiMust) {
		this.aiMust = aiMust;
	}

	public Integer getAiShow() {
		return aiShow;
	}

	public void setAiShow(Integer aiShow) {
		this.aiShow = aiShow;
	}

	public Long getTempId() {
		return tempId;
	}

	public void setTempId(Long tempId) {
		this.tempId = tempId;
	}

	@Override
	protected Serializable pkVal() {
		return this.aiId;
	}

	@Override
	public String toString() {
		return "MbResearchStepDataTemplateAnotherIndicators{" +
			", aiId=" + aiId +
			", aiType=" + aiType +
			", aiUnit=" + aiUnit +
			", aiMust=" + aiMust +
			", aiShow=" + aiShow +
			", tempId=" + tempId +
			"}";
	}
}
